<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script type="text/javascript">
        var oil = prompt("输入汽油的型号");
        var shen = prompt("汽油的升数");

        if (oil == 92) {
            if (shen >= 20) {
                console.log("每升￥5.9");
            }
            else {
                console.log("每升￥6.0");
            }
        }
        else if (oil == 97) {
            if (shen >= 30) {
                console.log("每升￥6.95");
            }
            else {
                console.log("每升￥7");
            }
        }
        else {
            console.log("没有您要加的汽油型号！");
        }
    </script>
    <script type="text/javascript">
        var a = prompt("输入");
        var b = prompt("输入");
        a % b == 0 ? console.log(a) : console.log(b);
    </script>
    <script type="text/javascript">
        var abc = 100
        ；
        while (abc < 1000) {
            var a = Math.floor(abc / 100);
            var b = Math.floor(abc / 10) % 10;
            var c = abc % 10;
            var num = Math.pow(a, 3) + Math.pow(b, 3) + Math.pow(c, 3);
            if (num == adc) {
                console.log(num)
            }
            abc++;
        }
        console.log("over");
    </script>
</head>
<body>

</body>
</html>